#define _CRT_SECURE_NO_WARNINGS 1

#include"tree.h"

int main()
{
	TNode* root = CreatTree();
	PreOrder(root);
	printf("\ntreesize:%d", BinaryTreeSize(root));
	printf("\ntreesize:%d",BinaryTreeSize(root));
	printf("\nLeafSize:%d", BinaryTreeLeafSize(root));
	printf("\nLevelKSize:%d", BinaryTreeLevelKSize(root, 3));
	printf("\nheight:%d", BinaryTreeHeight(root));
	return 0;
}
